DevOwl\RealCookieBanner\Utils C

Total Complexity 108
Dependencies 4
Dependents 31
Total lines 611
Lines of code 347
Logical lines of code 182
Comment lines 246
Methods 28
Properties 0

Methods 28

Method Rating Maintainability Complexity Lines of code
setCookie()
A
41 10 66
isFrontend()
A
57 9 17
isPageBuilder()
A
62 9 11
host()
A
52 8 22
parseHtmlAttributes()
S
50 7 28
isPluginActive()
S
55 6 19
isRest()
S
57 6 15
isDownload()
S
60 5 13
posts_where_find_in_set()
S
55 4 18
currentContentTypeIs()
S
60 4 13
getIpAddress()
S
61 4 12
getActivePluginsMap()
S
61 3 12
htmlAttributes()
S
62 3 11
giveHost()
S
69 3 5
getRandomWeightedElement()
S
64 3 9
preg_replace_callback_recursive()
S
63 2 11
isJson()
S
73 2 4
isHtml()
S
78 2 3
getRequestUrl()
S
69 2 6
isPageBuilderFrontend()
S
70 2 6
isCLI()
S
78 2 3
endsWith()
S
68 2 7
hash()
S
65 2 8
anyPluginActive()
S
72 2 4
isPreinstalledEnvironment()
S
68 2 7
flatten()
S
67 2 8
startsWith()
S
74 1 4
createRegxpPatternFromWildcardedName()
S
70 1 5